#ifndef CI7_DEFINES_H_INCLUDED
#define CI7_DEFINES_H_INCLUDED

#define CI7_INIT_BASE       0
#define CI7_INIT_AUDIO      1
#define CI7_INIT_ALL        2

#define CI7_MODE_WIN        0
#define CI7_MODE_FULL       1

#define CI7_SOUND_LOW       0
#define CI7_SOUND_MED       1
#define CI7_SOUND_HGH       2

#define CI7_KEY_a           SDLK_a
#define CI7_KEY_b           SDLK_b
#define CI7_KEY_c           SDLK_c
#define CI7_KEY_d           SDLK_d
#define CI7_KEY_e           SDLK_e
#define CI7_KEY_f           SDLK_f
#define CI7_KEY_g           SDLK_g
#define CI7_KEY_h           SDLK_h
#define CI7_KEY_i           SDLK_i
#define CI7_KEY_j           SDLK_j
#define CI7_KEY_k           SDLK_k
#define CI7_KEY_l           SDLK_l
#define CI7_KEY_m           SDLK_m
#define CI7_KEY_n           SDLK_n
#define CI7_KEY_o           SDLK_o
#define CI7_KEY_p           SDLK_p
#define CI7_KEY_q           SDLK_q
#define CI7_KEY_r           SDLK_r
#define CI7_KEY_s           SDLK_s
#define CI7_KEY_t           SDLK_t
#define CI7_KEY_u           SDLK_u
#define CI7_KEY_v           SDLK_v
#define CI7_KEY_w           SDLK_w
#define CI7_KEY_x           SDLK_x
#define CI7_KEY_y           SDLK_y
#define CI7_KEY_z           SDLK_z
#define CI7_KEY_FIRST       SDLK_FIRST
#define CI7_KEY_BACKSPACE   SDLK_BACKSPACE
#define CI7_KEY_TAB         SDLK_TAB
#define CI7_KEY_CLEAR       SDLK_CLEAR
#define CI7_KEY_RETURN      SDLK_RETURN
#define CI7_KEY_PAUSE       SDLK_PAUSE
#define CI7_KEY_ESCAPE      SDLK_ESCAPE
#define CI7_KEY_SPACE       SDLK_SPACE
#define CI7_KEY_SLASH       SDLK_SLASH
#define CI7_KEY_0           SDLK_0
#define CI7_KEY_1           SDLK_1
#define CI7_KEY_2           SDLK_2
#define CI7_KEY_3           SDLK_3
#define CI7_KEY_4           SDLK_4
#define CI7_KEY_5           SDLK_5
#define CI7_KEY_6           SDLK_6
#define CI7_KEY_7           SDLK_7
#define CI7_KEY_8           SDLK_8
#define CI7_KEY_9           SDLK_9
#define CI7_KEY_LEFTBRACKET SDLK_LEFTBRACKET
#define CI7_KEY_BACKSLASH   SDLK_BACKSLASH
#define CI7_KEY_DELETE      SDLK_DELETE
#define CI7_KEY_KP0         SDLK_KP0
#define CI7_KEY_KP1         SDLK_KP1
#define CI7_KEY_KP2         SDLK_KP2
#define CI7_KEY_KP3         SDLK_KP3
#define CI7_KEY_KP4         SDLK_KP4
#define CI7_KEY_KP5         SDLK_KP5
#define CI7_KEY_KP6         SDLK_KP6
#define CI7_KEY_KP7         SDLK_KP7
#define CI7_KEY_KP8         SDLK_KP8
#define CI7_KEY_KP9         SDLK_KP9
#define CI7_KEY_UP          SDLK_UP
#define CI7_KEY_DOWN        SDLK_DOWN
#define CI7_KEY_RIGHT       SDLK_RIGHT
#define CI7_KEY_LEFT        SDLK_LEFT
#define CI7_KEY_INSERT      SDLK_INSERT
#define CI7_KEY_HOME        SDLK_HOME
#define CI7_KEY_END         SDLK_END
#define CI7_KEY_PAGEUP      SDLK_PAGEUP
#define CI7_KEY_PAGEDOWN    SDLK_PAGEDOWN
#define CI7_KEY_F1          SDLK_F1
#define CI7_KEY_F2          SDLK_F2
#define CI7_KEY_F3          SDLK_F3
#define CI7_KEY_F4          SDLK_F4
#define CI7_KEY_F5          SDLK_F5
#define CI7_KEY_F6          SDLK_F6
#define CI7_KEY_F7          SDLK_F7
#define CI7_KEY_F8          SDLK_F8
#define CI7_KEY_F9          SDLK_F9
#define CI7_KEY_F10         SDLK_F10
#define CI7_KEY_F11         SDLK_F11
#define CI7_KEY_F12         SDLK_F12
#define CI7_KEY_F13         SDLK_F13
#define CI7_KEY_F14         SDLK_F14
#define CI7_KEY_F15         SDLK_F15
#define CI7_KEY_NUMLOCK     SDLK_NUMLOCK
#define CI7_KEY_CAPSLOCK    SDLK_CAPSLOCK
#define CI7_KEY_SCROLLOCK   SDLK_SCROLLOCK
#define CI7_KEY_RSFHIT      SDLK_RSHIFT
#define CI7_KEY_LSHIFT      SDLK_LSHIFT
#define CI7_KEY_RCTRL       SDLK_RCTRL
#define CI7_KEY_LCTRL       SDLK_LCTRL
#define CI7_KEY_RALT        SDLK_RALT
#define CI7_KEY_LALT        SDLK_LALT

#define CI7_MOUSE_BTT1      123
#define CI7_MOUSE_BTT2      234
#define CI7_MOUSE_BTT3      345
#define CI7_MOUSE_BTT4      456
#define CI7_MOUSE_BTT5      567
#define CI7_MOUSE_BTT6      678
#define CI7_MOUSE_BTT7      789

#define CI7_GAMEPAD_UP      111
#define CI7_GAMEPAD_DOWN    222
#define CI7_GAMEPAD_LEFT    333
#define CI7_GAMEPAD_RIGHT   444

#define CI7_GAMEPAD_BTT_01  111110
#define CI7_GAMEPAD_BTT_02  111111
#define CI7_GAMEPAD_BTT_03  111112
#define CI7_GAMEPAD_BTT_04  111113
#define CI7_GAMEPAD_BTT_05  111114
#define CI7_GAMEPAD_BTT_06  111115
#define CI7_GAMEPAD_BTT_07  111116
#define CI7_GAMEPAD_BTT_08  111117
#define CI7_GAMEPAD_BTT_09  111118
#define CI7_GAMEPAD_BTT_10  111119
#define CI7_GAMEPAD_BTT_11  111120
#define CI7_GAMEPAD_BTT_12  111121

#define CI7_GAMEPAD_UP_2      1111
#define CI7_GAMEPAD_DOWN_2    2222
#define CI7_GAMEPAD_LEFT_2    3333
#define CI7_GAMEPAD_RIGHT_2   4444

#define CI7_GAMEPAD_2_BTT_01  211110
#define CI7_GAMEPAD_2_BTT_02  211111
#define CI7_GAMEPAD_2_BTT_03  211112
#define CI7_GAMEPAD_2_BTT_04  211113
#define CI7_GAMEPAD_2_BTT_05  211114
#define CI7_GAMEPAD_2_BTT_06  211115
#define CI7_GAMEPAD_2_BTT_07  211116
#define CI7_GAMEPAD_2_BTT_08  211117
#define CI7_GAMEPAD_2_BTT_09  211118
#define CI7_GAMEPAD_2_BTT_10  211119
#define CI7_GAMEPAD_2_BTT_11  211120
#define CI7_GAMEPAD_2_BTT_12  211121

#define CI7_GAMEPAD_UP_3      11111
#define CI7_GAMEPAD_DOWN_3    22222
#define CI7_GAMEPAD_LEFT_3    33333
#define CI7_GAMEPAD_RIGHT_3   44444

#define CI7_GAMEPAD_3_BTT_01  311110
#define CI7_GAMEPAD_3_BTT_02  311111
#define CI7_GAMEPAD_3_BTT_03  311112
#define CI7_GAMEPAD_3_BTT_04  311113
#define CI7_GAMEPAD_3_BTT_05  311114
#define CI7_GAMEPAD_3_BTT_06  311115
#define CI7_GAMEPAD_3_BTT_07  311116
#define CI7_GAMEPAD_3_BTT_08  311117
#define CI7_GAMEPAD_3_BTT_09  311118
#define CI7_GAMEPAD_3_BTT_10  311119
#define CI7_GAMEPAD_3_BTT_11  311120
#define CI7_GAMEPAD_3_BTT_12  311121

#define CI7_GAMEPAD_UP_4      11111
#define CI7_GAMEPAD_DOWN_4    22222
#define CI7_GAMEPAD_LEFT_4    33333
#define CI7_GAMEPAD_RIGHT_4   44444

#define CI7_GAMEPAD_4_BTT_01  411110
#define CI7_GAMEPAD_4_BTT_02  411111
#define CI7_GAMEPAD_4_BTT_03  411112
#define CI7_GAMEPAD_4_BTT_04  411113
#define CI7_GAMEPAD_4_BTT_05  411114
#define CI7_GAMEPAD_4_BTT_06  411115
#define CI7_GAMEPAD_4_BTT_07  411116
#define CI7_GAMEPAD_4_BTT_08  411117
#define CI7_GAMEPAD_4_BTT_09  411118
#define CI7_GAMEPAD_4_BTT_10  411119
#define CI7_GAMEPAD_4_BTT_11  411120
#define CI7_GAMEPAD_4_BTT_12  411121

#define BOMB   cout << "Stop!" << endl;exit(0);
#endif
